import request from '@/utils/request'

// 查询分数信息列表
export function listList(query) {
  return request({
    url: '/system/scoreList/list',
    method: 'get',
    params: query
  })
}

// 查询分数信息详细
export function getList(id) {
  return request({
    url: '/system/scoreList/' + id,
    method: 'get'
  })
}

// 新增分数信息
export function addList(data) {
  return request({
    url: '/system/scoreList',
    method: 'post',
    data: data
  })
}

// 修改分数信息
export function updateList(data) {
  return request({
    url: '/system/scoreList',
    method: 'put',
    data: data
  })
}

// 删除分数信息
export function delList(id) {
  return request({
    url: '/system/scoreList/' + id,
    method: 'delete'
  })
}
